home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Present…nuary (Partner) - Disc 2 / The Apple Reference and Presentations Library (Disc 2)(January 1994).iso / Diehl Graphsoft / German / MiniCad / MiniCad-PPC / MiniCad 5.0.1-D / MiniCad 5.0.1-D.rsrc / STR#_7015.txt < prev    next >
Encoding:
Text File  |  1994-10-06  |  930 b   |  25 lines

  1. PtInPoly(X,Y : REAL;  H : HANDLE) : BOOLEAN;
  2.  
  3. If point X,Y is inside the polygon that is conected to the handle TRUE will be returns else it will return FALSE
  4.  
  5. Distance(X1,Y1,X2,Y2 : REAL) : REAL;
  6.  
  7. Returns the distance between two coordinate locations
  8.  
  9. PtInRect(X,Y,X1,Y1,X2,Y2 : REAL) : BOOLEAN;
  10.  
  11. Returns TRUE if the coordinate X,Y is located within the rectangular boundary specified by X1,Y1 and X2,Y2 otherwise it returns FALSE
  12.  
  13. UnionRect(X1,Y1,X2,Y2,X3,Y3,X4,Y4 : REAL;  VAR X5,Y5,X6,Y6 : REAL);
  14.  
  15. Given two rectangular boundaries, specified by X1,Y1,X2,Y2 and X3,Y3,X4,Y4 and returns a new boundary which encloses both rectangles in X5,Y5,X6,Y6
  16.  
  17. EqualRect(X1,Y1,X2,Y2,X3,Y3,X4,Y4 : REAL) : BOOLEAN;
  18.  
  19. Returns TRUE if the two rectangular boundaries, X1,Y1,X2,Y2 and X3,Y3,X4,Y4 are equal, otherwise it rturns FALSE
  20.  
  21. EqualPt(X1,Y1,X2,Y2 : REAL) : BOOLEAN;
  22.  
  23. Returns TRUE if X1,Y1 and X2,Y2 are equal, otherwise it returns FALSE
  24.  
  25.